<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Incluir Editora</title>
	
</head>

<body>
   <c:import url="/menu.jsp"></c:import>
   
   
	<c:if test="${not empty erro}">
		<div style="color: red;">
			<c:out value="${erro}"></c:out>
		</div>
	</c:if>
	
	<c:if test="${not empty msg}">
		<div style="color: blue;">
			<c:out value="${msg}"></c:out>
		</div>
	</c:if>
	
	<form action="editora" method="POST" name="editoraForm">
		Nome: <input type="text" name="nome" />
		<br/>
		
		<button id="button" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only" onclick="editoraForm.submit();">
			<span class="ui-button-text">Gravar</span>
		</button>
		
		<input type="hidden" name="operacao" value="incluir" >
	
	</form>

</body>
</html>